import type { UserInfo } from "@/models";
import { ApiBase } from "../http";

export class ApiUser extends ApiBase {
  prefix: string = "api/user";

  async getCurrent() {
    return await super.get<UserInfo>();
  }
}
